<?php
    $i = 0;
    foreach ($cats as $c) { 
        if(! ++$i % 10) echo '<br/>';
        echo $c['name'];
        echo CHtml::checkBox('Partner[subCats][]', false, array('value'=>$c['catId'], 'style'=>'margin-right:15px', 'class'=>'listSubCats'));
    }
?>